<html>
<head><meta charset="utf-8"><title>debugging in rustc · t-compiler · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/index.html">t-compiler</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/debugging.20in.20rustc.html">debugging in rustc</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="156692814"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/debugging%20in%20rustc/near/156692814" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/debugging.20in.20rustc.html#156692814">(Jan 23 2019 at 14:31)</a>:</h4>
<p>Note <span class="user-group-mention" data-user-group-id="897">@T-compiler/meeting</span>: in ~30 minutes, <span class="user-mention" data-user-id="129503">@Tom Tromey</span> <a href="https://internals.rust-lang.org/t/compiler-lecture-series/9227/19?u=nikomatsakis" target="_blank" title="https://internals.rust-lang.org/t/compiler-lecture-series/9227/19?u=nikomatsakis">plans to give a talk about debugging support</a>. The meeting will be held on Zoom. It will also be recorded. If you'd like to connect, you are advised to download the client in advance.</p>
<p>Here are the meeting details:</p>
<p>Meeting id is 945 406 023. Here is the link <a href="https://zoom.us/j/945406023" target="_blank" title="https://zoom.us/j/945406023">https://zoom.us/j/945406023</a> 9. Note that while it may work in the browser, there is also a client that you are recommended to download.</p>



<a name="156692847"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/debugging%20in%20rustc/near/156692847" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/debugging.20in.20rustc.html#156692847">(Jan 23 2019 at 14:31)</a>:</h4>
<p>This is specifically about how debuginfo works in rustc and/or lldb etc. Actually I'm not 100% sure which topics <span class="user-mention" data-user-id="129503">@Tom Tromey</span> means to cover but I guess we can ask questions to as needed. =)</p>



<a name="156699512"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/debugging%20in%20rustc/near/156699512" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nagisa <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/debugging.20in.20rustc.html#156699512">(Jan 23 2019 at 15:52)</a>:</h4>
<p>State of PDB: it vaguely works. Type printing works for some types via natvis. I <em>believe</em> that we have natvis code or atleast there was a PR for Enum support in natvis.</p>



<a name="156699582"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/debugging%20in%20rustc/near/156699582" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nagisa <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/debugging.20in.20rustc.html#156699582">(Jan 23 2019 at 15:53)</a>:</h4>
<p>Well apparently not enums in general but for some specific ones see PRs like: <a href="https://github.com/rust-lang/rust/pull/39843" target="_blank" title="https://github.com/rust-lang/rust/pull/39843">https://github.com/rust-lang/rust/pull/39843</a></p>



<a name="156700054"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/debugging%20in%20rustc/near/156700054" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nagisa <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/debugging.20in.20rustc.html#156700054">(Jan 23 2019 at 15:58)</a>:</h4>
<p>It may be possible to <em>write</em> something that knows how to detect enum pattern in general</p>



<a name="156713644"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/debugging%20in%20rustc/near/156713644" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> blitzerr <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/debugging.20in.20rustc.html#156713644">(Jan 23 2019 at 18:47)</a>:</h4>
<p><span class="user-mention" data-user-id="116009">@nikomatsakis</span>  When will the recording be shared ? <span aria-label="slight smile" class="emoji emoji-1f642" role="img" title="slight smile">:slight_smile:</span></p>



<a name="156713676"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/debugging%20in%20rustc/near/156713676" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/debugging.20in.20rustc.html#156713676">(Jan 23 2019 at 18:47)</a>:</h4>
<p>I'll post today, in a bit</p>



<a name="156715539"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/debugging%20in%20rustc/near/156715539" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> blitzerr <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/debugging.20in.20rustc.html#156715539">(Jan 23 2019 at 19:11)</a>:</h4>
<p>thank you <span class="user-mention" data-user-id="116009">@nikomatsakis</span></p>



<a name="156720774"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/debugging%20in%20rustc/near/156720774" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/debugging.20in.20rustc.html#156720774">(Jan 23 2019 at 20:11)</a>:</h4>
<p><a href="https://youtu.be/elBxMRSNYr4" target="_blank" title="https://youtu.be/elBxMRSNYr4">https://youtu.be/elBxMRSNYr4</a></p>



<a name="156725367"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/debugging%20in%20rustc/near/156725367" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> davidtwco <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/debugging.20in.20rustc.html#156725367">(Jan 23 2019 at 21:07)</a>:</h4>
<p>Thanks <span class="user-mention" data-user-id="129503">@Tom Tromey</span> and <span class="user-mention" data-user-id="116009">@nikomatsakis</span>, that was a really informative watch.</p>



<a name="156729134"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/debugging%20in%20rustc/near/156729134" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> blitzerr <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/debugging.20in.20rustc.html#156729134">(Jan 23 2019 at 22:01)</a>:</h4>
<p>Thank you <span class="user-mention" data-user-id="129503">@Tom Tromey</span></p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>